<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/object_add.css">
</head>
<body>
	<form id="productForm">
		<table class="table table-condensed">
			<caption>添加散标信息：</caption>
			<tr>
				<td>散标名称</td>
				<td><input class="form-control" type="text" name="pname" /></td>
			</tr>
			<tr>
				<td>散标总额</td>
				<td><input class="form-control" type="text" name="ppricetotal" /></td>
			</tr>
			<tr>
				<td>年化率</td>
				<td><input class="form-control" type="text" name="prate" /></td>
			</tr>
			<tr>
				<td>还款期限</td>
				<td><input class="form-control" type="text" name="ptimelimit" /></td>
			</tr>
			<tr>
				<td>散标简介</td>
				<td><input class="form-control" type="text" name="pdesc" /></td>
			</tr>
			<tr>
				<td>散标类型</td>
				<td>
					<select class="form-control" name="ptype">
						<option value="1">到期还本息</option>
						<option value="2">每月还利息</option>
						<option value="3">每月还本利</option>
					</select>
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<button type="button" onclick="addProduct('${pageContext.request.contextPath }/back/product/addProduct')" class="btn btn-primary">提交</button>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>